#include "incal.h"
#include "ui_incal.h"
#include"calculator.h"
#include"directory.h"


InCal::InCal(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::InCal)
{
    ui->setupUi(this);
    QPixmap incalCon("://rsc/cal/incal.png");
    ui->incalLabel->setPixmap(incalCon);


}

InCal::~InCal()
{
    delete ui;
}

void InCal::on_useCalButton_clicked()
{
    this->hide();
    Calculator *cal=new Calculator;
    cal->show();

}


void InCal::on_incal2DirButton_clicked()
{
    this->hide();
    Directory *dir=new Directory;
    dir->show();
}

